<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8">
	<title>文章列表</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link href="/static/layui/css/layui.css" th:href="@{/static/layui/css/layui.css}" media="all" type="text/css" rel="stylesheet"/>
	<link href="/static/css/public.css" th:href="@{/static/css/public.css}" media="all" type="text/css" rel="stylesheet"/>
</head>
<body class="childrenBody">
<form class="layui-form layui-row layui-col-space10">
	<!-- 本菜单ID隐藏域 -->
	<input type="hidden" name="menuId" class="menuId" />
	<!-- 一级菜单隐藏域  -->
	<input type="hidden" name="parentMidHide" class="parentMidHide"/>
	<input type="hidden" name="menuIcon" class="menuIcon"/>
	<input type="hidden" name="mid" class="mid"/>
	<input type="hidden" name="rank" class="rank"/>
	
	<div class="layui-col-md3 layui-col-xs12">
		<div class="border">
			<div class="layui-form-item">
				<label class="layui-form-label">一级</label>
				<div class="layui-input-block parentMenu">
					<select class="parentMenuList" name="parentMenuList" lay-verify="required">
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">二级</label>
				<div class="layui-input-block">
					<input type="text" class="layui-input menuName" lay-verify="required" placeholder="请输入二级菜单名"/>
				</div>
			</div>
			
			<div class="layui-form-item">
				<label class="layui-form-label">路径</label>
				<div class="layui-input-block">
					<input type="text" class="layui-input menuPath" lay-verify="required" placeholder="请输入二级菜单路径"/>
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label"><i class="layui-icon">&#xe60e;</i> 状　态</label>
				<div class="layui-input-block">
					<input type="checkbox" class="status" name="status" lay-filter="status" lay-skin="switch" lay-text="启用|禁止" checked>
				</div>
			</div>

			<hr class="layui-bg-gray" />
			<div class="layui-right">
				<a class="layui-btn layui-btn-sm" lay-filter="editMenu" lay-submit><i class="layui-icon">&#xe609;</i>修改</a>
				<a class="layui-btn layui-btn-primary layui-btn-sm cancle_btn">取消</a>
			</div>
		</div>
	</div>
</form>
<script type="text/javascript" src="/static/layui/layui.js" th:src="@{/static/layui/layui.js}"></script>
<script type="text/javascript" src="/static/js/menuAddOrEdit.js" th:src="@{/static/js/menuAddOrEdit.js}"></script>
</body>
</html>